package cn.cai.service;

import cn.cai.pojo.EduChapter;
import cn.cai.pojo.vo.ChapterVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author caishenao
 * @since 2021-08-17
 */
public interface IEduChapterService extends IService<EduChapter> {

    List<ChapterVo> getChapterVideoByCourseId(String courseId);

    boolean deleteAndVideo(String chapterId);

    void deleteOnlyChapter(String chapterId);
}
